package com.lll.demo.mapper;

//只管封装和数据库交互的方法（提供方法）

import com.lll.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    public User getUserById(String id);

    public User getMajorOrClassname(String major,String classname);

    public  void  insertUser(User user);
}
